<!--
 * @Date: 2023-07-31 14:01:38
 * @LastEditors: lijingang
 * @LastEditTime: 2023-07-31 14:32:08
 * @FilePath: /ds-brain-web/src/views/login/components/UserName.vue
-->
<template>
  <div>
    <sec-input
      v-model="username"
      size="small"
      auto-complete="off"
      :placeholder="placeholder"
      @input="change"
    >
      <i slot="prefix" class="icon-yonghu"></i>
    </sec-input>
  </div>
</template>
<style lang="scss" scope></style>
<script>
export default {
  name: 'UserName',
  props: {
    placeholder: {
      type: String,
      default: ''
    },
    change: {
      type: Function,
      default: () => {}
    }
  },
  data() {
    return {
      username: ''
    }
  },
  computed: {},
  mounted() {},
  created() {},
  methods: {}
}
</script>
